package org.ccay.excel.exporter;

import org.ccay.core.exception.ApplicationException;

/**
 * 
 * 导出数据扩展接口	
 * @author chaowangbang
 * @since 2013-6-19
 */
public interface IExcelExtentionDataProvider {
	/**
	 * 导出任务开始	
	 * @author chaowangbang
	 * @since 2013-6-19
	 */
	void begin(IExcelExportContext context) throws ApplicationException;
	
	/**
	 * 导出任务过程错误	
	 * @author chaowangbang
	 * @since 2013-6-19
	 */
	void fail(IExcelExportContext context) throws ApplicationException;
	
	/**
	 * 导出任务结束	
	 * @author chaowangbang
	 * @since 2013-6-19
	 */
	void end(IExcelExportContext context) throws ApplicationException;
}
